package com.ibm.cps.sql.expression.function.scalar;

public class CosFunc extends ExpressionFunction {

	@Override
	protected int validArgumentCount() {
		return 1;
	}

	@Override
	protected Comparable<?> innerEvaluate(Object... arguments) {
		return Math.cos(((Number)arguments[0]).doubleValue());
	}

}
